package com.session07;

public class LocalDemo {
    int a = 10;

    void f() {
        class Inner {
            int b = 20;

            void g() {
                System.out.println(a);
                System.out.println(b);
            }
        }
        Inner in = new Inner();
        in.g();
    }

    public static void main(String[] args) {
        LocalDemo local = new LocalDemo();
        local.f();
    }

}
